package com.usian.feign;

import com.usian.pojo.Student;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;


import java.util.List;

@FeignClient("eureka-provider")
public interface StudentFeign {

    @RequestMapping("findAll")
    public List<Student> findAll();

}
